package com.nuonuo.listener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @author duan
 * @version 1.0
 * @date 2024/1/25 16:42
 */
@Component
public class OrderCallBackListener implements RedisDelayedQueueListener<String> {

    private static final Logger LOGGER = LoggerFactory.getLogger(OrderCallBackListener.class);
    @Override
    public void invoke(String s) {
        LOGGER.warn("---> " + s + " <----");
    }
}
